using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using JYH.Data;

namespace JYH.Model
{
    [TableName("BasWarehouseInfo")]
    [PrimaryKey("WarehouseID", autoIncrement = false)]
    [ExplicitColumns]
    public partial class BasWarehouseInfo
    {
        [Column]
        public string WarehouseID
        {
            get
            {
                return _WarehouseID;
            }
            set
            {
                _WarehouseID = value;
            }
        }

        private string _WarehouseID;

        [Column]
        public string WarehouseNO
        {
            get
            {
                return _WarehouseNO;
            }
            set
            {
                _WarehouseNO = value;
            }
        }

        private string _WarehouseNO;

        [Column]
        public string WarehouseName
        {
            get
            {
                return _WarehouseName;
            }
            set
            {
                _WarehouseName = value;
            }
        }

        private string _WarehouseName;

        [Column]
        public string RState
        {
            get
            {
                return _RState;
            }
            set
            {
                _RState = value;
            }
        }

        private string _RState = "0";

        [Column]
        public string Remark
        {
            get
            {
                return _Remark;
            }
            set
            {
                _Remark = value;
            }
        }

        private string _Remark;

        [Column]
        public bool? IsMRP
        {
            get
            {
                return _IsMRP;
            }
            set
            {
                _IsMRP = value;
            }
        }

        private bool? _IsMRP;

        [Column]
        public string CreateTime
        {
            get
            {
                return _CreateTime;
            }
            set
            {
                _CreateTime = value;
            }
        }

        private string _CreateTime = DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss");

        [Column]
        public string CreateUser
        {
            get
            {
                return _CreateUser;
            }
            set
            {
                _CreateUser = value;
            }
        }

        private string _CreateUser;

        [Column]
        public string UpdateTime
        {
            get
            {
                return _UpdateTime;
            }
            set
            {
                _UpdateTime = value;
            }
        }

        private string _UpdateTime;

        [Column]
        public string UpdateUser
        {
            get
            {
                return _UpdateUser;
            }
            set
            {
                _UpdateUser = value;
            }
        }

        private string _UpdateUser = DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss");
    }
}